package com.tanhua.dubbo.api.db;

import com.tanhua.domain.db.UserInfo;
import com.tanhua.vo.PageResult;

public interface UserInfoApi {
    void save(UserInfo userInfo);

    void update(UserInfo userInfo);

    UserInfo findById(Long id);

    PageResult queryUsers(Integer page, Integer pagesize, Long id, String nickname, String city);


    /**
     * 新增通过id修改
     * @Author ZacharyJo
     * @date 2021/07/17 14:01:11
     */
    void updateById(Long userId);
}
